Filtering and redacting blockchain transactions

ABSTRACT

A blockchain may store transactions which should were not intended to be recorded due to inappropriate content or unwanted subject matter submitted by malicious users. A method may also include one or more of identifying a blockchain transaction, processing content of the blockchain transaction to identify prohibited content, and determining whether to approve or disapprove the blockchain transaction based on the content of the blockchain transaction.

TECHNICAL FIELD

This application relates to auditing transactions in a blockchain, and more particularly, to filtering and if appropriate, redacting blockchain transactions based on a transaction approval procedure.

BACKGROUND

In a blockchain, each block contains zero or more transactions. These transactions include data defined, at least in part, by the sender of the transaction. While this data is usually innocuous and relates to the execution of the transaction, it is possible for a malicious user to include data that may be offensive or illegal. Existing blockchains do not have ways of detecting such harmful data included in a transaction. If the transaction is otherwise valid and passes consensus, all blockchain participants will be, in turn, hosting a copy of this data whether it be valid or malicious. Since immutability is a property of blockchains, removing such harmful data from the transaction would be a benefit.

SUMMARY

One example embodiment may include a method that comprises one or more of identifying a blockchain transaction, processing content of the blockchain transaction to identify prohibited content, determining whether to approve or disapprove the blockchain transaction based on the content of the blockchain transaction.

Another example embodiment may include a system that comprises a processor and memory, wherein the processor and memory are communicably coupled to one another, wherein the processor is configured to perform one or more of identify a blockchain transaction, process content of the blockchain transaction to identify prohibited content, and determine whether to approve or disapprove the blockchain transaction based on the content of the blockchain transaction.

A further example embodiment may include a non-transitory computer readable medium comprising instructions, that when read by a processor, cause the processor to perform one or more of identifying a blockchain transaction, processing content of the blockchain transaction to identify prohibited content, and determining whether to approve or disapprove the blockchain transaction based on the content of the blockchain transaction.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a logic block diagram of a blockchain transaction tracking and node characterization configuration according to example embodiments.

FIG. 2 illustrates a system signaling diagram of a blockchain transaction tracking configuration according to example embodiments.

FIG. 3A illustrates a flow diagram of an example method of operation according to example embodiments.

FIG. 3B illustrates a flow diagram of an example method of operation according to example embodiments.

FIG. 4 illustrates an example network entity configured to support one or more of the example embodiments.

DETAILED DESCRIPTION

It will be readily understood that the instant components, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of at least one of a method, apparatus, non-transitory computer readable medium and system, as represented in the attached figures, is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments.

The instant features, structures, or characteristics as described throughout this specification may be combined in any suitable manner in one or more embodiments. For example, the usage of the phrases “example embodiments”, “some embodiments”, or other similar language, throughout this specification refers to the fact that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment. Thus, appearances of the phrases “example embodiments”, “in some embodiments”, “in other embodiments”, or other similar language, throughout this specification do not necessarily all refer to the same group of embodiments, and the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

In addition, while the term “message” may have been used in the description of embodiments, the application may be applied to many types of network data, such as, packet, frame, datagram, etc. The term “message” also includes packet, frame, datagram, and any equivalents thereof. Furthermore, while certain types of messages and signaling may be depicted in exemplary embodiments they are not limited to a certain type of message, and the application is not limited to a certain type of signaling.

Example embodiments provide a process that receives incoming blockchain transactions from various nodes operating on a network. These transactions, which may be financial, can be filtered and/or redacted based on a transaction approval procedure. In other embodiments, other types of blockchain transactions may also be received and processed (filtered and/or redacted) for storage in the blockchain. The transactions are received via an ingress platform which applies filtering based on pre-defined criteria. If the blockchain transaction content of an incoming transaction is suspect based on the filtering, then the message may be quarantined, deleted, forwarded to a computer or an administrator for review or sent back to the transaction originator along with a notification regarding the type of error which was noted and/or logged during the filtering process. In addition, even after transactions are received and logged, another procedure may perform redaction of the transactions in the blockchain based on a further audit process (which may be on-going) that seeks to identify improperly logged transactions.

FIG. 1 illustrates a logic block diagram of a blockchain transaction tracking and node characterization configuration according to example embodiments. Referring to FIG. 1, the transaction processing logic is illustrated 100 as receiving and processing incoming blockchain transactions 110. The transaction ingress 120 may be a platform for receiving transactions at a blockchain pre-processing server and which identifies whether the transaction should be screened based on various filters and/or customized examination processes. A transaction scanning module or processor 122 may be configured to parse words, symbols and other content included in the transaction to detect offensive or illegal data included in blockchain transaction. A library of known terms, spam, media, links, etc., which are likely to be inappropriate or unrelated to the content of a typical transaction may be used to flag the transaction information which is likely unacceptable for logging in the blockchain. Filters may include word filters 123, custom filters 125 and 129 which are setup by the administrators and other users, and a media filter 127 which seeks to identify videos, audio, images, symbols, etc. The content processor 124 may receive and process the transaction content and determine whether the content should be stored in the blockchain 140. The content in the blockchain may be redacted based on a further audit process by a redaction contract 142 that seeks to identify improperly logged transactions. In another embodiment, the redaction contract 142 (which may reside on a computer with a processor and memory) can receive transaction information from the blockchain 140, determine whether the content should be stored in the blockchain 140 and if not, redact the content based on a further audit process by the redaction contract 142.

When redacting a transaction, the data that was originally identified in the transaction may be hidden or blocked from view in the actual committed blockchain transaction. For example, once a transaction is identified as requiring redaction, the transaction may still exist in a block to preserve immutability of that transaction, however, the transaction may be otherwise inaccessible and cannot be accessed or viewed by users. For example, one approach may include placing a contract in a genesis block of the blockchain with code indicating to record redacted transactions. Additionally, by sending a new transaction to the redaction contract identifying a particular blockchain transaction to be redacted, the new transaction may be recorded and a redaction procedure may identify the “improper transaction” as the transaction to be redacted on the blockchain.

There are a number of operations/approaches to limiting improper blockchain transactions. One approach is to filter and discard/stop a transaction prior to the transaction being committed to the blockchain, and possibly redact, if necessary, transactions from blockchain. The offensive/improper transactions can be identified prior to being committed into the blockchain. Another approach is to redact a transaction after it has entered the blockchain. This will not change the immutability property of the blockchain, but instead, provides a way to limit access or hide the transaction so that even though the transaction still exits, it is not accessible or viewable by the users.

FIG. 2 illustrates a system signaling diagram of a blockchain transaction tracking configuration according to example embodiments. Referring to FIG. 2, the system diagram 200 includes blockchain nodes 210 attempting to submit blockchain transactions to a processor or blockchain computing device 220 which receives the transactions 222, parses the content 224 and attempts to screen the content for certain predefined parameters. In one example, when a transaction arrives at the ingress, the transaction will be sent through a set of filters 226 and processes where the transaction content can be scanned for offensive or illegal content based on the established filters. If the transaction is “approved” 232, it will continue to be forwarded to the blockchain for recording/commitment 234. The transaction ingress where the transactions are received are managed by an extendable framework such that filters may be set via a plug-in. For example, some filters may attempt to identify specific keywords or images and some filters may be human processes to moderate and approve a transaction. The result of the filters and processes is a determination whether to accept or reject the transaction. If an offensive transaction managed to get past the filters and become committed to the blockchain, the transaction becomes immutable and should be blocked and limited after the commitment. In order to identify and enforce the contract, the contract is stored in a genesis block with code that can record transactions that should be redacted. This contract may be called the redact transaction contract. The redact transaction contract is retrievable by users who are authorized to redact transactions, such as administrators or other operators. When a transaction needs to be redacted 236, a new transaction is sent to the redact transaction contract describing which transaction should be redacted and the reasons why it should be redacted. The redact transaction contract will update its list of contracts that should be redacted 238. The redact transaction, like any other blockchain transaction, is recorded on the blockchain and serves as evidence that the members agreed to redact the transaction in question.

Members of the network can select to automatically redact transactions based on a list of noted improper transactions. Once a transaction is added to the list, the peer nodes on the network will no longer expose the contents of the transaction via user API calls. A message will be returned indicating that the transaction has been redacted and is no longer available for public viewing. Peer-to-peer API calls may still include the transaction to maintain the immutability of the blockchain.

FIG. 3A illustrates a flow diagram of an example method of operation according to example embodiments. Referring to FIG. 3A, the method 300 may include one or more of identifying a blockchain transaction 312, processing content of the blockchain transaction to identify prohibited content 314, and determining whether to approve or disapprove the blockchain transaction based on the content of the blockchain transaction 316. Additionally, the method may also include determining that the content of the blockchain transaction is approved, and logging the blockchain transaction in the blockchain. The method may also include determining that the content of the blockchain is disapproved, and denying the blockchain transaction from being logged in the blockchain, as well as determining that the content is disapproved after the transaction is logged in the blockchain, and denying access to the blockchain transaction logged in the blockchain. The method may also include determining that the content is disapproved after the blockchain transaction is logged in the blockchain, determining to redact the transaction, and redacting the blockchain transaction logged in the blockchain. Redacting the blockchain transaction includes creating and storing a transaction redaction contract in a genesis block of the blockchain. The method may further include creating a redaction transaction responsive to determining to redact the blockchain transaction, responsive to receiving the redaction transaction, updating the transaction redaction contract to include a list of contracts identified as redacted including the blockchain transaction, and logging the redaction transaction on the blockchain.

FIG. 3B illustrates a flow diagram of an example method of operation according to example embodiments. Referring to FIG. 3B, the method 350 may also include identifying a blockchain transaction 352, pre-processing the blockchain transaction to identify whether content of the blockchain transaction is approved by one or more devices on a peer network associated with the blockchain 354, processing content of the blockchain transaction via the one or more of the devices when the content of the blockchain is approved by the one or more devices 356, and storing the blockchain transaction on the blockchain 358. In this example, a pre-processing operation confirms the content of the transaction is recognizable or expected by potential miner devices on the peer network prior to committing a transaction that should not be permitted. This way, if a transaction contains unexpected content, the pre-processing will identify this content and it will not be finalized or stored in the blockchain. As such, miner devices have their own filter for approving content (or not) and a consensus may be reached regarding the acceptance of content of a transaction.

The above embodiments may be implemented in hardware, in a computer program executed by a processor, in firmware, or in a combination of the above. A computer program may be embodied on a computer readable medium, such as a storage medium. For example, a computer program may reside in random access memory (“RAM”), flash memory, read-only memory (“ROM”), erasable programmable read-only memory (“EPROM”), electrically erasable programmable read-only memory (“EEPROM”), registers, hard disk, a removable disk, a compact disk read-only memory (“CD-ROM”), or any other form of storage medium known in the art.

An exemplary storage medium may be coupled to the processor such that the processor may read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (“ASIC”). In the alternative, the processor and the storage medium may reside as discrete components. For example, FIG. 4 illustrates an example network element 400, which may represent or be integrated in any of the above-described components, etc.

As illustrated in FIG. 4, a memory 410 and a processor 420 may be discrete components of a network entity 400 that are used to execute an application or set of operations as described herein. The application may be coded in software in a computer language understood by the processor 420, and stored in a computer readable medium, such as, a memory 410. The computer readable medium may be a non-transitory computer readable medium that includes tangible hardware components, such as memory, that can store software. Furthermore, a software module 430 may be another discrete entity that is part of the network entity 400, and which contains software instructions that may be executed by the processor 420 to effectuate one or more of the functions described herein. In addition to the above noted components of the network entity 400, the network entity 400 may also have a transmitter and receiver pair configured to receive and transmit communication signals (not shown).

Although an exemplary embodiment of at least one of a system, method, and non-transitory computer readable medium has been illustrated in the accompanied drawings and described in the foregoing detailed description, it will be understood that the application is not limited to the embodiments disclosed, but is capable of numerous rearrangements, modifications, and substitutions as set forth and defined by the following claims. For example, the capabilities of the system of the various figures can be performed by one or more of the modules or components described herein or in a distributed architecture and may include a transmitter, receiver or pair of both. For example, all or part of the functionality performed by the individual modules, may be performed by one or more of these modules. Further, the functionality described herein may be performed at various times and in relation to various events, internal or external to the modules or components. Also, the information sent between various modules can be sent between the modules via at least one of: a data network, the Internet, a voice network, an Internet Protocol network, a wireless device, a wired device and/or via plurality of protocols. Also, the messages sent or received by any of the modules may be sent or received directly and/or via one or more of the other modules.

One skilled in the art will appreciate that a “system” could be embodied as a personal computer, a server, a console, a personal digital assistant (PDA), a cell phone, a tablet computing device, a smartphone or any other suitable computing device, or combination of devices. Presenting the above-described functions as being performed by a “system” is not intended to limit the scope of the present application in any way, but is intended to provide one example of many embodiments. Indeed, methods, systems and apparatuses disclosed herein may be implemented in localized and distributed forms consistent with computing technology.

It should be noted that some of the system features described in this specification have been presented as modules, in order to more particularly emphasize their implementation independence. For example, a module may be implemented as a hardware circuit comprising custom very large scale integration (VLSI) circuits or gate arrays, off-the-shelf semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, graphics processing units, or the like.

A module may also be at least partially implemented in software for execution by various types of processors. An identified unit of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions that may, for instance, be organized as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different locations which, when joined logically together, comprise the module and achieve the stated purpose for the module. Further, modules may be stored on a computer-readable medium, which may be, for instance, a hard disk drive, flash device, random access memory (RAM), tape, or any other such medium used to store data.

Indeed, a module of executable code could be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Similarly, operational data may be identified and illustrated herein within modules, and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network.

It will be readily understood that the components of the application, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the detailed description of the embodiments is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application.

One having ordinary skill in the art will readily understand that the above may be practiced with steps in a different order, and/or with hardware elements in configurations that are different than those which are disclosed. Therefore, although the application has been described based upon these preferred embodiments, it would be apparent to those of skill in the art that certain modifications, variations, and alternative constructions would be apparent.

While preferred embodiments of the present application have been described, it is to be understood that the embodiments described are illustrative only and the scope of the application is to be defined solely by the appended claims when considered with a full range of equivalents and modifications (e.g., protocols, hardware devices, software platforms etc.) thereto. 

What is claimed is:
 1. A method, comprising: identifying a blockchain transaction; processing content of the blockchain transaction to identify prohibited content; determining whether to approve or disapprove the blockchain transaction based on the content of the blockchain transaction; determining that the content is disapproved after the blockchain transaction is logged in a blockchain; determining to redact the blockchain transaction; and redacting the blockchain transaction logged in the blockchain by creating and storing a transaction redaction contract in a genesis block of the blockchain.
 2. The method of claim 1, further comprising: logging the blockchain transaction in the blockchain.
 3. The method of claim 1, further comprising: denying access to the blockchain transaction logged in the blockchain.
 4. The method of claim 1, further comprising: creating a redaction transaction responsive to determining to redact the transaction; responsive to receiving the redaction transaction, updating the transaction redaction contract to include a list of contracts identified as redacted including the blockchain transaction; and logging the redaction transaction on the blockchain.
 5. A system, comprising: a processor; and memory, wherein the processor and memory are communicably coupled to one another; wherein the processor is configured to: identify a blockchain transaction; process content of the blockchain transaction to identify prohibited content; and determine whether to approve or disapprove the blockchain transaction based on the content of the blockchain transaction; determine that the content is disapproved after the blockchain transaction is logged in a blockchain; determine to redact the blockchain transaction; and create and store a transaction redaction contract in a genesis block of the blockchain to redact the blockchain transaction logged in the blockchain.
 6. The system of claim 5, wherein the processor is configured to: log the blockchain transaction in the blockchain.
 7. The system of claim 5, wherein the processor is configured to: deny access to the blockchain transaction logged in the blockchain.
 8. The system of claim 5, wherein the processor is configured to: create a redaction transaction responsive to the determination to redact the transaction; responsive to receipt of the redaction transaction, update the transaction redaction contract to include a list of contracts identified as redacted including the blockchain transaction; and log the redaction transaction on the blockchain.
 9. A non-transitory computer readable medium comprising instructions, that when read by a processor, cause the processor to perform: identifying a blockchain transaction; processing content of the blockchain transaction to identify prohibited content; determining whether to approve or disapprove the blockchain transaction based on the content of the blockchain transaction; determining that the content is disapproved after the blockchain transaction is logged in a blockchain; determining to redact the blockchain transaction; and redacting the blockchain transaction logged in the blockchain by creating and storing a transaction redaction contract in a genesis block of the blockchain.
 10. The non-transitory computer readable medium of claim 9, comprising instructions, that when read by the processor, cause the processor to perform: logging the blockchain transaction in the blockchain.
 11. The non-transitory computer readable medium of claim 9, comprising instructions, that when read by the processor, cause the processor to perform: denying access to the blockchain transaction logged in the blockchain.
 12. The non-transitory computer readable medium of claim 9, further comprising: creating a redaction transaction responsive to determining to redact the transaction; responsive to receiving the redaction transaction, updating the transaction redaction contract to include a list of contracts identified as redacted including the blockchain transaction; and logging the redaction transaction on the blockchain. 